/**
 * 
 */
package com.cn;

import java.rmi.RemoteException;

import webservice.WebServiceServerProxy;


/**
 * the client of web service test
 * @author Administrator
 *
 */
public class WebServiceClient {

	/**
	 * @param args
	 * @throws RemoteException 
	 */
	public static void main(String[] args) throws RemoteException {
		WebServiceClient wsClient = new WebServiceClient();
		System.out.println(wsClient.InvokeWebService());
	}
	
	/**
	 * invoke webservice
	 * @throws RemoteException 
	 */
	public String InvokeWebService() throws RemoteException{
		//TODO:add webservice invoke;
		WebServiceServerProxy ws = new WebServiceServerProxy();
		String reString = ws.helloWebService();
		return reString;
	}

}
